// pages/xiangqing/xiangqing.js
Page({

    data: {
        fruit: [{
            id: 1,
            name: '备选项',
        }, {
            id: 2,
            name: '备选项'
        }],
        value1: '',
        value2: '',
        value3: '',
        value4: '',
        value5: '',
        value6: '',
        value7: '英文歌曲暂时无法播放',
        value8: '正在安排播放，预计在2022.3.27中午12:30播放',

    },
    bindViewTap() {
        if (this.data.value1 != '') {
            if (this.data.value2 != '') {
                if (this.data.value3 != '') {
                    if (this.data.value4 != '') {
                        if (this.data.value5 != '') {
                            if (this.data.value6 != '') {
                                console.log(this.data.value1);
                                console.log(this.data.value2);
                                console.log(this.data.value3);
                                console.log(this.data.value4);
                                console.log(this.data.value5);
                                console.log(this.data.value6);
                                wx.showToast({
                                    title: '提交成功',
                                    duration: 2000
                                })
                            } else {
                                wx.showToast({
                                    title: '请输入内容',
                                    icon: 'error',
                                    duration: 2000
                                })
                            }
                        } else {
                            wx.showToast({
                                title: '请输入内容',
                                icon: 'error',
                                duration: 2000
                            })
                        }
                    } else {
                        wx.showToast({
                            title: '请输入内容',
                            icon: 'error',
                            duration: 2000
                        })
                    }
                } else {
                    wx.showToast({
                        title: '请输入内容',
                        icon: 'error',
                        duration: 2000
                    })
                }
            } else {
                wx.showToast({
                    title: '请输入内容',
                    icon: 'error',
                    duration: 2000
                })
            }
        } else {
            wx.showToast({
                title: '请输入内容',
                icon: 'error',
                duration: 2000
            })
        }
    },
    onReady: function () {},
})